<div id="applyFor" style="text-align: center; width: 500px; margin: 100px auto;">
    <h1>{{ $message }}</h1>
   将在 <span class="loginTime" style="color: red;font-size: 18px;">{{ $jumpTime }}</span> 秒后跳转<a href="{{ $url }}" style="color: #1d6ec5;line-height: 80px;font-size: 18px;">立即跳转</a>
</div>
<script type="text/javascript" src="/static/js/jquery.min-3.3.1.js"></script>
<script type="text/javascript">
    $(function(){
        var url = "{{$url}}";
        var loginTime = parseInt($('.loginTime').text());
        var time = setInterval(function(){
            loginTime = loginTime-1;
            $('.loginTime').text(loginTime);
            if(loginTime==0){
                clearInterval(time);
                window.location.href=url;
            }
        },1000);
    })
</script>